package com.test.blogsystem.Service;

import com.test.blogsystem.Pojo.Require.UpdateBlogInfo;
import com.test.blogsystem.Pojo.Response.BlogAddResponse;
import com.test.blogsystem.Pojo.Response.BlogInfoResponse;

import java.util.List;

public interface BlogService {

    List<BlogInfoResponse> getList();

    BlogInfoResponse getBlogDetail(Integer blogId);

    boolean addBlog(BlogAddResponse blogAddResponse);

    boolean updateBlogInfo(UpdateBlogInfo updateBlogInfo);

    boolean deleteBlog(Integer blogId);
}
